#include <gtest/gtest.h>
#include <iostream>

#include "config.h"
#include "status.h"

using namespace iangels;

TEST(ConfigTest, TestFileParse) {
    std::string json_file = "../3rd/deepseek-vl2-tiny/config.json";
    Config conf;
    Ret ret = config::load(json_file, conf);
    EXPECT_EQ(conf["global_view_pos"], "head");
    EXPECT_EQ(ret, SUCCESS);
}